// import { BasicLayout } from '@/layouts'

/**
 * 异步路由
 */
export const routerMap = [
  {
    path: "/",
    name: "index",
    // component: BasicLayout,
    redirect: "/overview/all",
    meta: { title: "menu.home" },
    children: [
      {
        path: "/overview",
        name: "overview",
        component: () => import("@/views/overview/index"),
        redirect: "/overview/all",
        hideChildrenInMenu: true,
        meta: { title: "项目总览", keepAlive: true, icon: "idcard" },
        children: [
          // 全部项目
          {
            path: "/overview/all",
            name: "All",
            hidden: true,
            component: () => import("@/views/overview/allItems/index"),
            meta: { title: "全部项目", keepAlive: true },
          },
        ],
      },
    ],
  },
];
